var clickObjId = "#index_home";
$(document).ready(function() {
	$("#nav .w a").click(function(){
		if(clickObjId){
			$(clickObjId).hide();
		}
		var id = $(this).attr("href");
		$(id).fadeIn(300);
		clickObjId = id;
	});
	
	
	
	
	$(".animsition").animsition({
		  inClass               :   'fade-in-right',
		  outClass              :   'fade-out',
		  inDuration            :    1500,
		  outDuration           :    800,
		  linkElement           :   '.animsition-link',
		  // e.g. linkElement   :   'a:not([target="_blank"]):not([href^=#])'
		  loading               :    true,
		  loadingParentElement  :   'body', //animsition wrapper element
		  loadingClass          :   'animsition-loading',
		  unSupportCss          : [ 'animation-duration',
		                            '-webkit-animation-duration',
		                            '-o-animation-duration'
		                          ],
		  //"unSupportCss" option allows you to disable the "animsition" in case the css property in the array is not supported by your browser.
		  //The default setting is to disable the "animsition" in a browser that does not support "animation-duration".
		  
		  overlay               :   false,
		  
		  overlayClass          :   'animsition-overlay-slide',
		  overlayParentElement  :   'body'
	});
	// showIndexHome();
//	showIndexXcfa();
//	showIndexXczj();
//	showIndexFbjh();
	// showIndexXcxc();
	// showIndexBgfk();
	// showIndexPjkh();
});









